package com.f6.utils;

public class SystemConstans {
	public static final String ENCODING_UTF8 = "UTF-8";
	public static final String CURRENT_USER = "current_user";
	public static final String NULL_USER = null;

	public static final String NOT_LOGIN = "您尚未登录或长时间未操作,请重新登录";
	public static final String ERROR_NOT_AUTH = "无权操作";
	public static final String ERROR_BAD_REQUEST = "无效的请求";
	public static final String SYSTEM_ERROR = "系统错误";
	public static final String ERROR_USER_PWD = "用户名密码错误";

	public static final String RESPONSE_LABEL_SUCCESS = "1";
	public static final String RESPONSE_LABEL_ERROR = "0";
	public static final String RESPONSE_LABEL_NOAUTH = "2";
	public static final String RESPONSE_LABEL_NOLOGIN = "3";

	public static final String PERMISSION_ACCESS = "access";
	public static final String PERMISSION_SPLIT = ":";
	public static final String PARAM_FUNCTION_ID = "functionid";

	public static final String LOGIN_USER = "f6user";
	public static final String CHANGE_ACTION_UPDATE = "UPDATE";
	public static final String CHANGE_ACTION_INSERT = "INSERT";
	public static final String CHANGE_ACTION_DELETE = "DELETE";
	public static final String CHANGE_ACTION_MERGE = "MREGER";
	public static final String SEPERATOR = "|";
	public static final String PARAM_TOKEN = "f6token";
	
	public static final String SESSION_ATTR_ORDER="current_order";
	
	   public static final String SESSION_ATTR_USER="current_user";

	// *************for weixin开发*****************
	public static final String WEIXINURL = "https://api.weixin.qq.com/cgi-bin/token";
	public static final String APPID = "wxe54154dcd2750a78";
	public static final String APPSECRET = "077048b1d83b113506d6956621e73d2d";
	//public static final String WEXIN_DOMAIN="http://www.wangshuguang.cn";
	public static final String WEXIN_DOMAIN="http://www.shuguangwang.cn";
	public static final String WEIXIN_AUTH_REIDRECT_URL_USER_DETAIL = "http://www.shuguangwang.cn/qt/myprofile.do";
	public static final String WEIXIN_AUTH_REIDRECT_URL_PAY = "http://www.shuguangwang.cn/pay/openpay.do";
	public static final String WEIXIN_AUTH_REIDRECT_URL_TO_PAY = "http://www.shuguangwang.cn/pay/topay.do";
	public static final String WEIXIN_AUTH_PAY_NOTIFY = "http://www.shuguangwang.cn/pay/notify.do";
	public static final String WEIXIN_AUTH_REIDRECT_URL_COMMON = "http://www.shuguangwang.cn/auth.do";
	public static final String WEIXIN_AUTH_REIDRECT_URL_QRCODE = "http://www.shuguangwang.cn/qrcode.do";
	
	//weixin 支付
	//商户号
	public static final String WEIXIN_PAYMENT_MACHI_ID="1261433401";
	
	

	// ************
	public static final String HOUTAI = "/houtai";
	public static final String QT = "/qt";
	public static final String PAY_TEST = "/paytest";
	public static final String WEIXIN_ACCESS_TOKEN = "WEIXIN_TOKEN";
	
	//order status
	public static final String ORDER_STATUS_NO_PAY = "未付款";
	public static final String ORDER_STATUS_PAYED = "已付款";
	public static final String ORDER_STATUS_CANCEL = "已取消";
	public static final String ORDER_STATUS_DOING = "处理中";
	public static final String ORDER_STATUS_SENDING = "配送中";
	public static final String ORDER_STATUS_DONE = "已完成";
	
	
}
